package com.week.tiny_video.service;

import com.week.tiny_video.pojo.Comment;

import java.util.List;

public interface CommentService {

    public Comment get(int id);

    public void add(Comment comment);

    public void update(Comment comment);

    public void delete(int id);

    public List<Comment> listByVideo(int vid);

    public List<Comment> listByUser(int uid);
}
